package org.weasel.tree;

import org.weasel.business.UserStory;

public class TreeObjectUserStory extends TreeObject {
	private UserStory userStory;

	public TreeObjectUserStory(String name, UserStory userStory) {
		super(name);
		this.userStory = userStory;
	}
	
	public void setName(String name){
		//set the name of the TreeObject 
		super.setName(name);
	}
	
	public UserStory getUserStory() {
		return userStory;
	}

	public void setUserStory(UserStory userStory) {
		this.userStory = userStory;
	}
}
